package com.luck.emp.entity;

import java.util.Date;

import com.luck.org.entity.VUser;
import com.luck.pf.util.DateUtil;
import com.luck.pf.util.FormateUtil;

/**
 * 说明:ENEITY类 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class EmpTThD implements java.io.Serializable {
	/**
	 * pk 退货单明细ID
	 **/
	Long id;
	/**
	 * 退货单号码
	 **/
	String thCode;
	/**
	 * 商品编码
	 **/
	String productCode;
	EmpTProdBase product;
	/**
	 * 数量
	 **/
	Long qty;
	/**
	 * 计量单位
	 **/
	String measUnit;
	/**
	 * 创建时间
	 **/
	Date createDate;
	/**
	 * 修改时间
	 **/
	Date modiDate;
	/**
	 * 基本采购价
	 **/
	Double purPrice;
	/**
	 * 已核销金额
	 **/
	Double payAmt;
	/**
	 * 核销状态
	 **/
	String hxStatus;
	/**
	 * 实际退货价
	 **/
	Double priceReal;
	/**
	 * 创建人
	 **/
	private VUser createUser;
	/**
	 * 修改人
	 **/
	private VUser modiUser;

	public EmpTThD() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public String getThCode() {
		return this.thCode;
	}

	public void setThCode(String thCode) {
		this.thCode = thCode;
	}

	public String getProductCode() {
		return this.productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}


	public String getMeasUnit() {
		return this.measUnit;
	}

	public void setMeasUnit(String measUnit) {
		this.measUnit = measUnit;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModiDate() {
		return this.modiDate;
	}

	public void setModiDate(Date modiDate) {
		this.modiDate = modiDate;
	}

	public Double getPurPrice() {
		return this.purPrice;
	}

	public void setPurPrice(Double purPrice) {
		this.purPrice = purPrice;
	}

	public Double getPayAmt() {
		return this.payAmt;
	}

	public void setPayAmt(Double payAmt) {
		this.payAmt = payAmt;
	}

	public String getHxStatus() {
		return this.hxStatus;
	}

	public void setHxStatus(String hxStatus) {
		this.hxStatus = hxStatus;
	}

	public Double getPriceReal() {
		return this.priceReal;
	}

	public void setPriceReal(Double priceReal) {
		this.priceReal = priceReal;
	}

	public VUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(VUser createUser) {
		this.createUser = createUser;
	}

	public VUser getModiUser() {
		return modiUser;
	}

	public void setModiUser(VUser modiUser) {
		this.modiUser = modiUser;
	}

	public Long getQty() {
		return qty;
	}

	public void setQty(Long qty) {
		this.qty = qty;
	}

	public EmpTProdBase getProduct() {
		return product;
	}

	public void setProduct(EmpTProdBase product) {
		this.product = product;
	}

	public String getCreateDateStr() {
		return DateUtil.dateToString(this.createDate, DateUtil.patternA);
	}

	public String getModiDateStr() {
		return DateUtil.dateToString(this.modiDate, DateUtil.patternA);
	}

	public String getPurPriceStr() {
		return FormateUtil.getInstance().formateDouble(this.purPrice);
	}

	public String getPayAmtStr() {
		return FormateUtil.getInstance().formateDouble(this.payAmt);
	}

	public String getPriceRealStr() {
		return FormateUtil.getInstance().formateDouble(this.priceReal);
	}

}